Skip to main content

Picker selector

Overview

The picker selector filters out the n-th result(s), based on a singular input or a range. It is an auxiliary selector, meaning that it is used to filter out input coming from a preceding selector.

The user can choose between four types of output.

Properties

Picker has two parameters.

Type of output

This selects the level on which the filtration is performed, and thus the output type.

Let's say you are looking for results number two through nine (2:9). You can then choose the level:

levelexplanation
unchangedwill not change the type of objects that came out of the preceding selector (f.i. tables, paragraphs, ...)
characterwill grab the defined number of characters from the output of the preceding selector
linewill grab the defined number of lines from the output of the preceding selector
paragraphwill grab the defined number of paragraphs from the output of the preceding selector

Index(es)

The result of a selector is a list of zero of more objects. This field allows you to specify which of these objects you want.

The index starts at 1. You can choose an absolute value to select exactly one element. Or you can define a range.

Example

Consider the following data field to extract the phone number and email from a company info:

  1. Boundary region:

  1. Parsing pipeline.

In the first step, the boundary selector extracts content from the defined region.

The phone number and email are the last two lines of the block. This will still be correct, regardless of how many lines the postal address can occupy.

Therefore, for the Picker selector we set the type as lines and the number of group is -2: -1.

Result overview

Picker will produce the text result in the form selected in Type of output property, i.e.: characters, lines, paragraphs.

important

The format and example of the actual result produced by the pdf2Data Engine is described in Recognition result specification.

Specification

To see more information about properties and expert usage visit specification page.